﻿<UserControl x:Class="WebDevUtilities.VsixPkg.Extensions.AspTemplateConverter.ToolWindowControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             Background="{DynamicResource VsBrush.Window}"
             Foreground="{DynamicResource VsBrush.WindowText}"
             mc:Ignorable="d"
             d:DesignHeight="292.286" d:DesignWidth="351.788"
             x:Name="ToolWindowControl1" Loaded="ToolWindow_Loaded" Initialized="ControlConverterToolWindow_Initialized" >
    <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" >
        <Grid>
            <StackPanel Orientation="Vertical">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <Label x:Name="lblNamespace" Content="Namespace:" Grid.Row="0" Grid.Column="0" />
                    <TextBox x:Name="tbNamespace" Grid.Column="1" Grid.Row="0" Margin="3" TextChanged="tbNamespace_TextChanged" ToolTip="Enter the new Namespace for your selected Template/s." />
                    <Label x:Name="lblBaseclass" Content="Baseclass:" Grid.Row="1" Grid.Column="0" />
                    <TextBox x:Name="tbBaseclass" Grid.Column="1" Grid.Row="1" Margin="3" ToolTip="Enter the new Baseclass for your selected Template/s." />
                    <CheckBox x:Name="chkRemovePrefixes" Grid.Column="0" Grid.Row="2" Margin="3" HorizontalAlignment="Left" Content="remove prefixes" ToolTip="Check to remove all prefixes from classes and filenames." IsChecked="True" VerticalAlignment="Center" />
                    <TextBox x:Name="tbPrefix" Grid.Column="1" Grid.Row="2" Margin="3" />
                    <CheckBox x:Name="chkCopyImports" Grid.Column="0" Grid.Row="3" Margin="3" HorizontalAlignment="Left" Content="copy imports" ToolTip="Check to copy all imports into the new code-behind file." IsChecked="True" VerticalAlignment="Center" />
                    <Button Content="_Convert" Click="btnConvert_Click" Height="25" x:Name="btnConvert" Margin="0,3,3,3"  Grid.Column="1" Grid.Row="4" HorizontalAlignment="Right" VerticalAlignment="Center" Width="52"/>
                </Grid>
                <TextBlock TextWrapping="Wrap" Margin="10" HorizontalAlignment="Left" x:Name="TxtDescription" Text="Select one or more '*.aspx/ascx' files in the Solution-Explorer." />
            </StackPanel>
        </Grid>
    </ScrollViewer>
</UserControl>
